package com.bank.bank.transaction.service;

import com.bank.bank.transaction.pojo.dto.DrawMoneyParam;
import com.bank.bank.transaction.pojo.dto.SaveMoneyParam;
import com.bank.bank.transaction.pojo.dto.TransferMoneyParam;
import com.bank.bank.transaction.pojo.vo.DrawMoneyVO;
import com.bank.bank.transaction.pojo.vo.SaveMoneyVO;
import com.bank.bank.transaction.pojo.vo.TransactionDetailVO;

public interface TransactionService {
    SaveMoneyVO deposit(SaveMoneyParam saveMoneyParam);

    DrawMoneyVO withdraw(DrawMoneyParam drawMoneyParam);

    void transfer(TransferMoneyParam transferMoneyParam);

    TransactionDetailVO getTransaction(String transactionId);
}
